/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package merlion.scm.lcm.session;

import java.util.List;
import javax.ejb.Local;
import merlion.scm.lcm.entity.DeliveryOrder;
import merlion.scm.lcm.entity.PackingOrder;
import merlion.scm.lcm.entity.PickingOrder;
import merlion.scm.lcm.entity.ShippingOrder;

/**
 *
 * @author Yuwei
 */
@Local
public interface LogisticControlSessionBeanLocal {
    //public void rankDeliveryOrder(DeliveryOrder deliveryOrder);
    public void generateLogisticControlOrders(DeliveryOrder deliveryOrder);
    public String generatePickingOrderId();
    public String generatePackingOrderId();
    public String generateShippingOrderId();
    public List<DeliveryOrder> getAllDeliveryOrder();
    public List<DeliveryOrder> getConfirmedOrderList();
    public List<DeliveryOrder> getProcessingOrderList();
    public List<DeliveryOrder> getProcessedOrderList();
    public DeliveryOrder getDeliveryOrderById(Long id);
    public PickingOrder setPickingOrderDone(PickingOrder p);
    public PackingOrder setPackingOrderDone(PackingOrder p);
    public ShippingOrder setShippingOrderDone(ShippingOrder p);
    public DeliveryOrder saveDeliveryOrder(DeliveryOrder d);
    public String generateDeliveryOrderId();
}
